<ix-page-header>
  <ix-search-input1 [value]="filterString" (search)="onListFiltered($event)"></ix-search-input1>

  <button *ixRequiresRoles="requiredRoles" mat-button ixTest="add-tunable" [color]="'primary'" (click)="doAdd()">
    {{ 'Add' | translate }}
  </button>
</ix-page-header>

<ix-table
  class="table"
  [ix-table-empty]="!(dataProvider.currentPageCount$ | async)"
  [emptyConfig]="emptyService.defaultEmptyConfig(dataProvider.emptyType$ | async)"
  [ixUiSearch]="searchableElements.elements.tunables"
>
  <thead
    ix-table-head
    [columns]="columns"
    [dataProvider]="dataProvider"
  ></thead>
  <tbody
    ix-table-body
    [columns]="columns"
    [dataProvider]="dataProvider"
    [isLoading]="!!(dataProvider.isLoading$ | async)"
  ></tbody>
</ix-table>
<ix-table-pager [dataProvider]="dataProvider"></ix-table-pager>
